package com.my.xq.domain.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.sskj.core.entity.BaseEntity;

@Entity
@Table(name = "xq_plan_court")
public class Plan_Court extends BaseEntity {
	/**
	 * 方案小区关联表
	 */
	private static final long serialVersionUID = 1L;
	
	@Column(length = 40)
	private String planid;	//对应的方案id
	
	@Column(length = 40)
	private String courtid;	//对应的小区id
	
	@Transient
	private String courtName;
	
	@Override
	public String toString() {
		return "Plan_Court [planid=" + planid + ", courtid=" + courtid + "]";
	}
	
	public String getPlanid() {
		return planid;
	}
	public void setPlanid(String planid) {
		this.planid = planid;
	}
	public String getCourtid() {
		return courtid;
	}
	public void setCourtid(String courtid) {
		this.courtid = courtid;
	}

	public String getCourtName() {
		return courtName;
	}

	public void setCourtName(String courtName) {
		this.courtName = courtName;
	}
}
